package com.tsystems.bsipp.dm.persistence.enumeration;

/**
 * Created by vsovinsk on 08.10.2014.
 */
public enum PackageLevelStatusValue {
    NOT_DEFINED(0),
    ASB(1),
    DLU(2);

    private static final long serialVersionUID = 2014_06_18_01L;

    private int value;

    private PackageLevelStatusValue(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    /**
     * Used for 118n in UI.
     * The enum key has next definition in property file: ENUM_<EnumClassName>_<EnumValue>
     * E.g. ENUM_NetworkCommunicationType_GPRS
     *
     * @return property key
     */
    public String getPropertyKey() {
        return "ENUM_PackageLevelStatusValue_" + this.name();
    }
}
